import axios from "@/axios/index";

export const insertMenu=(params)=>{
    return axios({
        method:'post',
        url:'sys/menu/insertMenu',
        data:params
    })
}

export const updateMenu=(params)=>{
    return axios({
        method:'post',
        url:'sys/menu/updateMenu',
        data:params
    })
}


export const insertRoleMenu=(params)=>{
    return axios({
        method:'post',
        url:'sys/menu/insertRoleMenu',
        data:params
    })
}

export const getRoleMenuId=(params)=>{
    return axios({
        method:'get',
        url:'sys/menu/getRoleMenuId',
        params:params
    })
}
